﻿@model IEnumerable<MembershipUser>

@{
    ViewBag.Title = "Users";
}

<h2>Users</h2>

<table>
    <thead>
        <th>Username</th>
        <th></th>
        <th></th>
    </thead>
    @foreach (var user in Model)
    {
        <tr>
            <td>@user.UserName</td>
            <td>@Html.ActionLink("Edit", "Edit", new {controller="Users", name=user.UserName})</td>
            <td>@Html.ActionLink("Delete", "Delete", new RouteValueDictionary(new {controller="Users", name=user.UserName}))</td>
        </tr>
    }
</table>